﻿using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UnitTestProject
{
    using TouchPoint.IO;

    [TestClass]    
    public sealed class ContentStreamTestClass
    {
        TpmlTokenizer.ContentStream cs;

        [TestMethod]
        public void ParseComment()
        {
            string commentContent = @"
            // Comment Line
            /*
asdads
            Multi line Comment text with * / 
            <! --
-->
        // hjahdsj
        snhjahduqiw
            */
            <!-- Html Comment // akjhdsjah /* hjasdhajs */ -- -> -->";
            cs = new TpmlTokenizer.ContentStream(commentContent);
            if(cs.Content.Trim() != string.Empty) {
                throw new ArgumentException();
            }
        }
    }
}
